<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Example - GeoLounge</title>
<script type="text/javascript" src="LaTeXMathML.js"></script>
<link rel="stylesheet" type="text/css" href="LaTeXMathML.standardarticle.css" />	
 
<link type="text/css" rel="stylesheet" href="example.css" />
</head>
<body>

<!--<body background="no-horizon-bg.jpg"> -->
<div id="header">
    <div id="geoLounge">
	  <img src="LogoSmall.gif" width="150px" height="25"px />
	</div>
	
	<ul id="nav" class="Style1">
	  <li class="STYLE1"><a href="example.html" id="current">Example</a></li>
	  <li class="STYLE1"><a href="geother.html" id="geother">Geother</a></li>
	  <li class="STYLE1"><a href="intro.html" id="intro">Intro</a></li>
	  <li class="STYLE1"><a href="index.html" id="home">Home</a></li>
	 
    </ul>
</div>

<form name="search" id="search" method="post" action="Brief2.php">
      <input name="theorem" type="text" id="textInput" />
	  <input name="buttom" type="submit" value="Search Theorems" id="go" />
    </form>
<?php
   require("db_mysql_2.php");
   $id = $_GET['ID'];
   $sql = "select * from definitions where ID = ".$id;
   $result=mysql_query($sql,$link);
   $definition =mysql_fetch_array($result);
   
   ?>
<div id="container">
    
	<div id="left">
	  
<h2 id="nameTheo"><?php echo $definition['Name']; ?></h2>
	  
<div id="geogebra">
<h3>Picture</h3>
  
<div id="pic">
	    
		<p><em>
		<?php echo $definition['picAddress']; ?>
		</em></p></div><!-- pic -->  

</div><!-- geogebra -->

	    <div id="english" class="math">
	    <h3>Statement</h3>
		<p><em>
		<?php echo $definition['Statement']; ?>
		</em></p></div><!-- english -->

		<div id="chinese">
	    <h3>Formalization</h3>
		<p><?php echo $definition['formalization']; ?>
		</p></div><!-- chinese -->	 

</div>

<div id="right">
	   <a href="advSearch.html"><img src="Logo2.png" width="200px" height="200px" id="logo2"/></a>
	 </div>
</div>
<div id="blanc"></div>

<div id="footer">
    <ul class="STYLE1">
	  <li><a href="aboutUs.html">About Us</a></li>
	  <li><a href="http://www.buaa.edu.cn">Go to BUAA</a></li>
	</ul>
</div>
	  

	 
</body>
</html>
